import { post } from "@/utils/request";

// 获取阿里云 oss 配置
export const getOssConfig = () => {
  return post("/api/system/aliCloudOssConfig");
};

// 商户首页信息
export const getMerchantHomeInfo = (data) => {
  return post("/shop/bdi/mi", data);
};

// 加密接口
export const encryptApi = (data) => {
  return post("/api/service", data);
};

// 抵用券明细
export const getCouponDetails = (data) => {
  return post("/api/cyBerIntegral/bna", data);
};

// 积分明细（绿积分）
export const getPointsDetail = (data) => {
  return post("/api/cyBerGreenIntegral/bna", data);
};

// 剩余抵用券
export const getRemainingCoupons = (data) => {
  return post("/api/cyBerIntegral/manb", data);
};

// 剩余积分
export const getRemainingPoints = (data) => {
  return post("/api/cyBerGreenIntegral/manb", data);
};
